import axios from '../utils/request'


// 封装一个获取所有类别的数据请求
export function categorylist() {
    return axios({
        url: '/pro/categorylist'
    })
}

export function categorybrandlist(data: { category: string }) {
    return axios({
        url: '/pro/categorybrandlist',
        data
    })
}